﻿using System;
using System.Collections.Generic;
using HiTeachers.Entities;

namespace HiTeachers.Interfaces
{
    public interface ILoggerEmailDao : IDao<LoggerEmail, Guid>
    {
        bool IsExistEmail(string emailAddress, EmailType emailType);
        IList<LoggerEmail> GetSubcribeEmails();

        int TotalNumberOfLoggerEmail(EmailType emailType);
        IList<LoggerEmail> GetLoggerEmails(EmailType emailType);
        IList<LoggerEmail> GetLoggerEmails(EmailType emailType, int maximumRows, int startRowIndex);
    }
}
